#coding: utf-8
from invenio.messages import gettext_set_language

def format_element(bfo):
	"""
	Prints origin title (subtitle).
	"""
	origTitle = bfo.field('24500a')
	altTitle = bfo.field("24633a")
	
	if origTitle:
		return origTitle
	else:
		if not altTitle:
			return ""
		else:
			return altTitle
